package org.jeecgframework.web.service;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.jeecgframework.core.common.service.CommonService;
import org.jeecgframework.web.system.pojo.base.ZyRoomEntity;

public interface ZyRoomServiceI extends CommonService{
	
 	public <T> void delete(T entity);
 	
 	public <T> Serializable save(T entity);
 	
 	public <T> void saveOrUpdate(T entity);
 	
 	/**
	 * 默认按钮-sql增强-新增操作
	 * @param id
	 * @return
	 */
 	public boolean doAddSql(ZyRoomEntity t);
 	/**
	 * 默认按钮-sql增强-更新操作
	 * @param id
	 * @return
	 */
 	public boolean doUpdateSql(ZyRoomEntity t);
 	/**
	 * 默认按钮-sql增强-删除操作
	 * @param id
	 * @return
	 */
 	public boolean doDelSql(ZyRoomEntity t);

	/**@author xiul
	 * 2016-4-26 下午3:10:54
	 * Description 自定义查询 - 设备页 根据 影院选择影厅
	 * @param request
	 * @param belongCinemaId 影院ID
	 * @return
	 */
	public List<Map<String, Object>> queryDatagridResultForChooseRoomEquipment(HttpServletRequest request, String belongCinemaId);
}
